package com.zh.transport;

import java.util.Date;

/**
 * @description:
 * @author: zhangHang
 * @date: Created in 2020/5/16 7:21
 * @version: 1.0
 * @modified By:
 */
public class Transport {
    private String ownership;
    private String GpsPosition;
    private String price;
    private String id;
    private Date dateOfPurchase;

    public Transport(){

    }

    public Transport(String id){
        this.id=id;
    }

    public void drivingMethod(){
        System.out.println("you should learn transport rules.");
    }
}
